<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>	
<%@ include file="/pub/front_headmeta.jsp" %>  
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>  
<script type="text/javascript">
	 function createBlack(n){
		 for(var i=0;i<n;i++){
			 document.write('&nbsp;');
		 }
	 }
</script>
</head>
<body>
<c:forEach var="o" items="${data }" varStatus="status">
	<%--结尾 --%>
	<c:if test="${o.level==0&&status.index>0}">
				</ul>
			</div>
		</div>
	</c:if>	
	<%--开头 --%>
	<c:if test="${o.level==0}">
		<div class="box">  
			<div class="oHx slide">${o.indexName }</div> 
			<div class="box_content">
				<ul class="uft"> 			
	</c:if>	
	<%--内容 --%>
	<c:if test="${o.level>0}">	
				<li class="test-1"><span class="test-2" onclick="clickItem('${o.indexId }');"><script>createBlack(${o.level*5});</script>${o.indexName }<c:if test="${o.indexValue!=null}">-----${o.indexValue }</c:if> </span></li>
	</c:if>	
</c:forEach>
	<%--结尾 --%>
				</ul>
			</div>
		</div>
</body>
</html>
<script type="text/javascript">
	 var mySlide = new Slide("box","slide","box_content",0); 
	 mySlide._slideEvent();
	 
	 //点击查看历史树
	 function clickItem(id){
		 //alert(id);
	 }
</script>